﻿using System;
using DotNETStack.Core.Model;

namespace DotNETStack.Core.Data
{
    public interface IUserRepository
    {
        IUser GetByEmail(String email);
        Boolean IsValidUser(String email, String password);
        Boolean UserExists(String email);
        Boolean CreateUser(String userName, String email, String password);
    }
}